<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h2>编辑留言信息</h2>
<form th:object="${note}" action="/note/edit">
    编号：<input type="text" name="noteId" th:value="*{noteId}" readonly="readonly">
    名字：<input type="text" name="noteName" th:value="*{noteName}" readonly="readonly">
    留言内容：<input type="text" name="noteMessage" th:value="*{noteMessage}">
    留言时间：<input type="text" name="noteTime" th:value="*{#dates.format(noteTime,'yyyy-MM-dd HH:mm:ss')}" readonly="readonly">
    <input type="submit" value="修改">
</form>

</body>
</html>